package com.uchengwang.ui.cm_ui.cycle.bridge;


import com.uchengwang.ui.cm_ui.cycle.bean.BasePresenter;
import com.uchengwang.ui.cm_ui.cycle.bean.CommentConfig;
import com.uchengwang.ui.cm_ui.cycle.bean.CommentItem;

/**
 * Created by suneee on 2016/7/15.
 */
public interface CircleContract {

    interface CycleShareView {
        void addCmtOrReply(CommentConfig config, CommentItem addItem);
        void deleteCmtOrReply(int circlePosition, long commentId);
        void editTextBodyVisible(int visibility, CommentConfig commentConfig);
        //cmtItems 在获取评论详情时用到,其余可为null
//        void update2loadData(boolean isRefresh, List<CircleItem> datas, List<CommentItem> cmtItems);
    }

    interface Presenter extends BasePresenter {
        void loadData(int loadType);
        void deleteCircle(final String circleId);
        void addFavort(final int circlePosition);
        void deleteFavort(final int circlePosition, final String favortId);
        void deleteComment(final int circlePosition, final String commentId);

    }
}
